package com.packet.mybatis.mapper;

import com.packet.pojo.Employee;
import com.packet.pojo.Staff;
import com.packet.pojo.Trip;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @className:EmployeeMapper
 * @Author:wallet_packet Date:2023-11-11 14:10
 * @Describe:
 */
@Repository
@Mapper
public interface StaffTripMapper {
    List<Trip> getOldTrip(Integer sid);

    Trip getDetailTrip(Integer bid);

    List<Trip> getDoingTrip(Integer sid);

    void addTrip(Trip trip);

    List<Staff> getManage();

    void deleteTrip(Integer bid);

    Integer getNewTripBid(Integer sid);

    void updateTrip(Trip trip);
}
